<?php
	header("Content-type: image/png");
	include_once("config.php");

	$sql="select * from customer where customer_id=".(int)$_GET["id"];
	$result=mysql_db_query($dbm, $sql);
	$record=mysql_fetch_array($result, MYSQL_ASSOC);
	echo $record["pic_cs"];
	mysql_free_result($result);
?>